import {Entity, PrimaryGeneratedColumn, Column} from "typeorm";

// 读者实体
@Entity()
export class Reader {

  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  readername: string;

  @Column()
  readertype: string;

  @Column()
  sex: string;

  @Column()
  max_num: number;

  @Column()
  days_num: number;
}